package spring.cloud.eurekaclientuser;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

@SpringBootApplication
//@EnableEurekaClient
@EnableDiscoveryClient
//开启分布式会话共享
@EnableRedisHttpSession
public class EurekaClientUserApplication {

    public static void main(String[] args) {

        SpringApplication.run(EurekaClientUserApplication.class, args);
    }



}
